Import MaxGui.Drivers
Import BaH.Base64
Strict

Include "includes/lumpfile.bmx"
Include "includes/udts.bmx"
Include "includes/edgui.bmx"
Include "includes/globals.bmx"
Include "includes/allmodex.bmx"
Include "includes/drawing.bmx"

Include "includes/rpgxml.bmx"

'convert those midi files
'Include "includes/fluidsynth.bmx"


Global version:String = "v0.1.1"
AppTitle = "OHRRPGCE -Custom GUI Editor "+version

MainED = New MainEditor
MainED.Setup()

Repeat
WaitEvent()
EID = EventID()
MainED.Update(EID)

Forever


Rem
'Testing Lump
Local mylump:FileLump 
mylump = New FileLump
mylump.filename = "test/vikings.rpg"
mylump.unlump()
end rem